package com.cdks.wuxiu.api.model.param;

import javax.validation.constraints.NotNull;

import com.cdks.wuxiu.api.model.common.CommonParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(description = "用户播放视频参数")
@Data
@EqualsAndHashCode(callSuper = true)
public class VideoPlayParam extends CommonParam {
    @NotNull
    @ApiModelProperty(value = "已点播次数", required = true, position = -10)
    private Integer count;
        
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    
    @ApiModelProperty(value = "加密后的用户token")
    private String token;

    @NotNull
    @ApiModelProperty(value = "观看视频id")    
    private Long videoId;
}
